
import 'dart:async';

import 'package:flutter/services.dart';

class FlutterPluginNimrtc {
  static const MethodChannel _channel =
      const MethodChannel('flutter_plugin_nimrtc');

  static Future<String> get platformVersion async {
    final String version = await _channel.invokeMethod('getPlatformVersion');
    return version;
  }
  static Future<void>  call (String appId, String roomId) async {
    final String version = await  _channel.invokeMethod('call',{'appId':appId,'roomId':roomId});
  }
}
